package draw.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import draw.dao.dataObject.WinningRecordDO;
import draw.server.dto.WinningsDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface WinningRecordMapper extends BaseMapper<WinningRecordDO> {
    int insertWinningRecordMapper(WinningRecordDO winningRecordDO);

    List<WinningsDto> selectByActivityId(Long activityId);

}
